package
{
	import data.DataFactory;
	
	import flash.display.Sprite;
	
	import manager.ManagerRegister;
	
	public class AppRegister extends Sprite
	{
		public function AppRegister()
		{
			register();
		}
		
		/**
		 * 初始化运行
		 */		
		private function register():void
		{
			DataFactory.Instance.register("127.0.0.1", 8888);//通讯工厂注册
			ManagerRegister.Instance.register();//管理器集合注册
		}
	}
}